package com.sky.service;

import java.util.List;

import com.sky.dto.EmployeeDTO;
import com.sky.dto.EmployeeLoginDTO;
import com.sky.dto.PasswordEditDTO;
import com.sky.entity.Employee;
import com.sky.result.PageResult;

public interface EmployeeService {

    /**
     * 员工登录
     * @param employeeLoginDTO
     * @return
     */
    Employee login(EmployeeLoginDTO employeeLoginDTO);

    /**
     * 新增员工
     * @param employeeDTO
     */
    void save(EmployeeDTO employeeDTO);


    /* 
     * 分页查询
     */
    PageResult getpage(String name, int page, int pageSize);

    void status(Integer status,Long id);

    void update(EmployeeDTO employeeDTO);

    Employee get(Long id);

    void editPassword(PasswordEditDTO passwordEditDTO);

}
